import { defineStore } from "pinia";
import { ref } from "vue";

const useTabbarStore = defineStore('tabbar', () => {
    const isTabbarShow = ref(true)
    const change = (value) => {
        //ref方式修改值时要 .value
        isTabbarShow.value = value
    }
    return {
        isTabbarShow,
        change
    }
})
export default useTabbarStore